package com.itbupt.infrastructure.gateway;

import com.itbupt.infrastructure.gateway.dto.LockMarketPayOrderRequestDTO;
import com.itbupt.infrastructure.gateway.dto.LockMarketPayOrderResponseDTO;
import com.itbupt.infrastructure.gateway.response.Response;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * @Author dingchang
 * @Date 2025/5/11 11:19
 * @Description: 拼团营销服务
 */
public interface IGroupBuyMarketService {

    /**
     * 营销锁单
     * @param requestDTO 锁单商品信息
     * @return 锁单结果信息
     */
    @POST("api/v1/gbm/trade/lock_market_pay_order")
    Call<Response<LockMarketPayOrderResponseDTO>> lockMarketPayOrder(@Body LockMarketPayOrderRequestDTO requestDTO);

}
